Method of performing operation related to other device via near field communication and apparatus therefor

ABSTRACT

A method of performing an operation related to a second device, performed by a first device, via near field wireless communication, and an apparatus therefore. When a signal for wireless communication is received from the second device, the method includes calibrating the strength of the received signal; comparing the strength of the calibrated signal with operation signal information that is a result of calibrating a range of strengths of signals which are for the wireless communication and which are received from the second device moving between a plurality of points set to be within a predetermined distance from the first device; and as a result of the comparison, selectively performing the operation related to the second device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 14/288,773 filed May 28, 2014, which is a continuation of U.S. application Ser. No. 12/118,837 filed May 12, 2008, now U.S. Pat. No. 8,761,668 issued on June 24, 2014, which claims the benefit of Korean Patent Application No. 10-2007-101684, filed in the Korean Intellectual Property Office on Oct. 9, 2007, the disclosures of which are incorporated herein by reference.

BACKGROUND

1. Field

Aspects of the present invention relate to a method of performing an operation related to a second device, performed by a first device, via near field communication and an apparatus thereof.

2. Description of the Related Art

Many products supporting such near field communication technologies as Bluetooth and Wi-Fi have been developed. FIG. 1 shows a communication method between conventional devices supporting a Bluetooth function. A personal digital assistant (PDA) 120 supporting the Bluetooth function is within a predetermined distance from a notebook 110 having installed therein a Bluetooth module.

The notebook 110 checks whether there are other devices in a communication enabled zone 130 in which Bluetooth communication is enabled. When the notebook 110 detects that the PDA 120, which is a device supporting the Bluetooth function, has entered the communication enabled zone 130, the notebook 110 attempts to connect with the detected PDA 120. As a result of the connection attempt by the notebook 110, when the connection between the notebook 110 and the PDA 120 is generated, data can be mutually exchanged thereafter via wireless communication.

According to other conventional near field communication techniques, when the notebook 110 detects the PDA 120, an operation related to the detected PDA 120 may be performed. For example, when the notebook 110 detects the PDA 120, an operation for synchronizing databases stored in the PDA 120 and the notebook 110 may be performed.

However, if a predetermined operation is unconditionally performed when another device is detected in the communication enabled zone 130, there may be a problem since the predetermined operation may not be desired by a user. The problem becomes serious where the predetermined operation involves an important operation, such as data deletion.

In this manner, when an operation related to another device is automatically performed, conventional near field communication technology has a problem in that the conventional technology cannot take into account a user's intentions.

SUMMARY

Aspects of the present invention provide a method of performing an operation related to another device via near field communication and an apparatus therefor that enable the operation to be selectively performed, based on a user's intentions, when the operation related to the other device supporting a near field communication function is performed.

According to an aspect of the present invention, a method of performing an operation related to a second device, performed by a first device, via near field wireless communication is provided. The method includes calibrating a strength of the received signal when a signal for wireless communication is received from the second device; comparing the strength of the calibrated signal with operation signal information that is a result of calibrating a range of strengths of signals which are for the wireless communication and which are received from the second device moving between a plurality of points set to be within a predetermined distance from the first device; and selectively performing the operation related to the second device, based on a result of the comparison.

According to another aspect of the present invention, the method further includes updating the operation signal information. The updating of the operation signal information may include storing a range of strength of the signal, which is for the wireless communication and which is received from the second device, as a sample while performing the operation; and when the number of the stored sample exceeds a predetermined number, updating the operation signal information using the ranges of the strengths of the signals in the samples.

According to another aspect of the present invention, when a ratio of a number of samples having a range greater than the range of the strengths of the signals included in the operation signal information to a total number of the stored sample exceeds a predetermined ratio, the updating of the operation signal information includes expanding the range of the strengths of the signals in the operation signal information using the range of strength of a signal in the samples.

According to another aspect of the present invention, when a ratio of a number of samples having a range smaller than the range of the strengths of the signals in the operation signal information to a total number of the stored sample exceeds a predetermined ratio, the updating of the operation signal information includes the reducing the range of the strengths of the signals in the operation signal information using the range of strength of a signal in the samples.

According to another aspect of the present invention, the method further includes generating the operation signal information, wherein the generating of the operation signal information includes outputting an instructing message to generate the operation signal information using at least one of a text signal, a video signal, and/or an audio signal; receiving a signal for wireless communication from the second device moving between each of a plurality of points corresponding to the output instructing message; and generating the operation signal information using a range of strength of the received signal.

According to another aspect of the present invention, the plurality of points are determined according to a user's intentions.

According to another aspect of the present invention, the operation signal information further includes information regarding a type of the second device which has transmitted the signal, and the operation signal information is generated using ranges of strength of signals received from different types of the second device moving between each of the plurality of points.

According to another aspect of the present invention, the selective performing of the operation includes performing the operation when the strength of the calibrated signal is within the range of the strengths of the signals in the operation signal information, and the operation includes at least one of content reception/transmission, content output, and/or data synchronization.

According to another aspect of the present invention, the signal for the wireless communication is a Bluetooth signal or a Wireless Fidelity (Wi-Fi) signal.

According to another aspect of the present invention, an apparatus for performing an operation related to a second device, performed by a first device, via near field wireless communication, is provided. The apparatus includes a receiving unit to receive a signal for wireless communication from the second device; a calibration unit to calibrate a strength of the received signal; a comparison unit to compare the strength of the calibrated signal with operation signal information that is a result of calibrating a range of strengths of signals which are for the wireless communication and which are received from the second device moving between each of a plurality of points set to be within a predetermined distance from the first device; and an operation performing unit to selectively perform the operation related to the second device, based on a result of the comparison.

According to another aspect of the present invention, the apparatus further includes an update unit to update the operation signal information. The update unit may store a range of strength of the signal, which is for the wireless communication and which is received from the second device, as a sample while the operation is performed, and when the number of the stored sample exceeds a predetermined number, may update the operation signal information using the ranges of the strength of the signals in the samples.

According to another aspect of the present invention, the apparatus further includes an information generation unit to generate the operation signal information, and the information generation unit includes an output unit to output an instructing message to generate the operation signal information using at least one of a text signal, a video signal, and/or an audio signal; and a generation unit to generate the operation signal information using a range of strength of a received signal when the receiving unit receives the signal for wireless communication from the second device moving between each of a plurality of points corresponding to the output instructing message.

According to another aspect of the present invention, a computer readable recording medium having recorded thereon a program to executing a method of performing an operation related to a second device, performed by a first device, via near field wireless communication, The method includes calibrating a strength of the received signal when a signal for wireless communication is received from the second device; comparing the strength of the calibrated signal with operation signal information that is a result of calibrating a range of strengths of signals which are for the wireless communication and which are received from the second device moving between a plurality of points set to be within a predetermined distance from the first device; and selectively performing the operation related to the second device, based on a result of the comparison.

Additional aspects and/or advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

These and/or other aspects and advantages of the invention will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 is a diagram illustrating a communication method between conventional devices which support a Bluetooth function;

FIG. 2 is a diagram illustrating an operation performing apparatus which performs an operation related to a second device via near field communication according to an embodiment of the present invention;

FIG. 3 is a diagram illustrating an operation zone according to another embodiment of the present invention;

FIG. 4 is a table illustrating an example of operation signal information according to another embodiment of the present invention;

FIG. 5 is a flowchart of a method of generating operation signal information, according to an embodiment of the present invention; and

FIG. 6 is a flowchart of a method of performing an operation related to a second device, performed by a first device, via near field wireless communication, according to another embodiment of the present invention.

DETAILED DESCRIPTION

Reference will now be made in detail to the present embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

FIG. 2 shows an operation performing apparatus 200 that performs an operation related to a second device 210 via near field communication according to an embodiment of the present invention. The operation performing apparatus 200, hereinafter referred to as a first device 200, includes a receiving unit 202, a calibration unit 204, a comparison unit 206, and an operation performing unit 208. According to other aspects of the invention, the first device 200 may include additional and/or different units. Similarly, the functionality of two or more of the above units may be integrated into a single component. For convenience of description, a second device 210 is also shown in FIG. 2.

The receiving unit 202 receives a signal for wireless communication from the second device 210. The signal for the wireless communication may be, for example, a Bluetooth signal or a Wireless Fidelity (Wi-Fi) signal. When the first device 200 receives the signal for the wireless communication from the second device 210, the first device 200 establishes a connection with the second device 210. According to other aspects of the present invention, the wireless communication may employ any wireless communication technology.

The calibration unit 204 calibrates the strength of the signal received via the receiving unit 204. The calibration of the strength of the signal may be performed by calibrating Received Signal Strength Indication (RSSI). uV/m, dBm, or other measurement units may be used as a unit of strength. The calibrated signal strength may be represented by a normalized value between 1 through 10. 1 may correspond to the weakest signal strength and 10 may correspond to the strongest signal strength. The comparison unit 206 compares the strength of the signal calibrated by the calibration unit 204 with operation signal information that is a result of calibrating a range of strengths of signals which are for wireless communication and which are received from the second device 210 moving between each of a plurality of points set within a predetermined distance from the first device 200.

The operation signal information is a value obtained by a user by sequentially positioning the second device 210 at the plurality of points and then calibrating the strength of the signals transmitted to the first device 200 from the second device 210 when positioned at each of the plurality of points. The operation signal information may also be a result of calibrating the range of the strengths of the signals. A reason for determining the calibration result using, not signal strength, but the range, is that even when the second device 210 remains positioned at a same point, the strength of the signals received from the second device 210 may be differentiated according to time.

The operation signal information is the value that is pre-determined by the user via the above-described procedure. As described above, the plurality of points may be determined by the user, and the reason for determining the plurality of points by the user is to enable the first device 200 to perform an operation related to the second device 210 when the second device 210 enters a zone between the first device 200 and the plurality of points. The zone between the first device 200 and the plurality of points is referred to as an operation zone, and the plurality of points are referred to as boundary points. When the second device 210 is positioned in the operation zone, the operation zone may be defined as the zone in which a signal, which has strength within the range of the strengths of the signals transmitted from the second device 210 existing within the boundary points, may be received. Thus, the operation zone may be configured with the boundary points and other points adjacent to the boundary points. A detailed description regarding the operation zone and the operation signal information will be described later in relation to FIGS. 3 through 5.

As a result of the comparison performed by the comparison unit 206, the operation performing unit 208 selectively performs the operation related to the second device 210. The operation performing unit 208 performs the operation related to the second device 210 only when the strength of the signal calibrated by the calibration unit 204 is within the range of the strengths of the signals included in the operation signal information. This is because, in such a case, the second device 210 is determined to exist within the operation zone.

The operation related to the second device 210 may be an operation that is pre-set in the first device 200 by the user, according to the type of the second device 210. For example, the operation performed by the operation performing unit 208 may be at least one of content reception/transmission, content output, and data synchronization. For example, when the first device 200 is a notebook and the second device 210 is an MPEG-1 Audio Layer 3 (MP3) player, if the strength of a signal received from the MP3 player is within the range of the strengths of the signals included in the operation signal information, the notebook may receive an MP3 file which is currently being reproduced in the MP3 player, thereby outputting the MP3 file via a speaker of the notebook.

FIG. 3 shows an operation zone 310 according to another embodiment of the present invention. The operation zone 310 is shown in the form of a pentagon formed by connecting 5 boundary points 310A, 310B, 310C, 310D, and 310E with straight lines, with the first device 200 centered therein. A communication enabled zone 320 is also illustrated.

As shown in FIG. 3, for convenience of description, the operation zone 310 has the shape of a pentagon. However, the shape of the operation zone 310 is not limited thereto but may be formed to include all available points in which a signal, that has a strength within a range of strengths of signals received from another device existing at boundary points, can be received. The shape of the operation zone 310, according to some aspects of the present invention, may correspond to the position of the boundary points.

When the first device 200 determines that the second device 210 has entered the pentagon-shaped operation zone 310 as shown in FIG. 3, where the strength of a signal received from the second device 210 is determined to be within the range of the strengths of the signals included in the operation signal information, the first device 200 performs the operation related to the second device 210.

However, when the second device 210 does not enter the operation zone 310 but only enters the communication enabled zone 320, that is, in the case where the signal is received from the second device 210 but the strength of the received signal is outside the range of the strengths of the signals included in the operation signal information, the first device 200 does not perform the operation related to the second device 210.

FIG. 4 is a table showing an example of operation signal information according to another embodiment of the present invention. Ranges of strengths of signals received from various types of the second device 210, which are a device X, a device Y, and a device Z moving between each of boundary points A, B, C, D, and E are shown in FIG. 4. Each of the ranges is represented by a normalized value between a minimum value 1 and a maximum value 10.

For example, referring to FIG. 4, a signal having a strength in a range of 3 through 5 is received from the device X at the boundary point A, a signal having a strength in a range of 3 through 4 is received from the device X at the boundary point B, a signal having a strength in a range of 4 through 6 is received from the device X at the boundary point C, a signal having a strength in a range of 6 through 7 is received from the device X at the boundary point D, and a signal having a strength in a range of 5 through 7 is received from the device X at the boundary point D.

According to other aspects of the present invention, the operation signal information may not include all of the ranges of the strengths of the signals received from the second device 210 moving between each of the boundary points A, B, C, D, and E as shown in FIG. 4, but may include only a range of signal strengths of each device, wherein the range includes a minimum value and a maximum value of the signal strength. For example, as shown in FIG. 4, the operation signal information may include information informing a user that the device X has a signal strength in a range of 3 through 7, the device Y has a signal strength in a range of 5 through 9, and the device Z has a signal strength in a range of 1 through 4.

As shown in FIG. 4, when the first device 200 receives a signal having the strength in the range of 3 through 7 from the device X, the first device 200 determines that the device X has entered an operation zone and thereby performs an operation related to the device X. When the first device 200 receives a signal having the strength in the range of 5 through 9 from the device Y or receives a signal having the strength in the range of 1 through 4 from the device Z, the first device 200 performs operations related to each of the devices Y and Z. According to some aspects of the present invention, a user may newly generate the operation signal information whenever desired.

FIG. 5 is a flowchart of a process of generating operation signal information, according to an embodiment of the present invention. In operation 510, an instructing message may be output using at least one of a test signal, a video signal, and/or an audio signal. For example, if the first device 200 is a notebook, an image in which a device is positioned in front of the notebook may be graphically represented on a screen of the notebook with text such as “Please position a device at a desired place in front of the notebook”. A voice corresponding to the text may also be output via an audio signal.

In operation 520, a signal for wireless communication is received from the second device 210 moving between each of a plurality of points which correspond to the output instructing message. For example, when the instructing message requiring the device (such as an MP3 player) to be sequentially positioned at predetermined points of front, rear, left, and right directions is sequentially output according to a predetermined temporal interval, a user may sequentially position the MP3 player at the predetermined points of front, rear, left, and right directions according to when each of the instructing messages is output. The notebook then receives a signal from the MP3 player existing at each of the predetermined points.

The user may consider at which point the MP3 player is positioned so that the notebook can reproduce an MP3 file of the MP3 player, and may determine a plurality of points. If the user desires the notebook to reproduce the MP3 file of the MP3 player only when the MP3 player is very close to the notebook, the user can determine the plurality of points as points which are close to the notebook and, if the user desires the notebook to reproduce the MP3 file of the MP3 player only when the MP3 player is far from the notebook, the user can determine the plurality of points as points which are far from the notebook.

In operation 530, the operation signal information is generated using a range of strength of a received signal. For example, in the case where the signal is received, wherein the signal respectively has the strength in a range of 3 through 5, 3 through 4, 4 through 6, 6 through 7, and 5 through 7 when the device X respectively moves between each of the boundary points A, B, C, D, and E, the operation signal information may be generated as shown in FIG. 4.

The first device 200 may further include an information generation unit (not shown) which generates the operation signal information. The information generation unit may comprise an output unit (not shown) which outputs the instructing message for generating the operation signal information, and a generation unit (not shown) which generates the operation signal information by using the range of strength of the signal received from the second device 210.

The operation signal information may be updated in every predetermined period. Unlike the generation of the operation signal information described above, the update of the operation signal information does not change all of the operation signal information but only sets the range of strength of the signal to a new range.

A procedure for updating the operation signal information regarding the device X will now be described with a corresponding example referring to FIG. 4. First, while the first device 200 performs the operation related to the device X, the first device 200 also calibrates the strength of the signal received from the device X. The first device 200 stores a range of strength of such a calibrated signal as a sample.

In this manner, the first device 200 stores a plurality of samples and performs the update using the stored plurality of samples when the number of the stored plurality of samples exceeds a predetermined number. For example, when the number of the stored plurality of samples exceeds 50, the first device 200 may update the operation signal information using the stored plurality of samples.

Since a range of strength of a signal of each sample varies, a standard for updating the range of strengths of the signals included in the operation signal information may be necessary. According to aspects of the present invention, the range of strength of the signal to be updated may be determined according to a ratio of the number of samples having a range greater than the range of strength of the signal included in the operation signal information to the total number of the plurality of samples, or according to a ratio of the number of samples having a range smaller than the range of strength of the signal included in the operation signal information to the total number of the plurality of samples.

For example, the range of strength of the signal of the device X is 3 through 7 in FIG. 4, and if the ratio of the number of the samples having a range of strength of 8 through 9 to a total of 50 samples is approximately 80%, the range of strength of the signal of the device X may be updated to a range of 3 through 9. When the first device 200 receives a signal having the range of strength of 3 through 9 from the device X, the first device 200 performs the operation related to the device X.

If the ratio of the number of samples having a range of strength of 4 through 6 to the 50 total samples is approximately 80%, the range of strength of the signal of the device X may be updated to a range of 4 through 6. In this case, the first device 200 performs the operation related to the device X only when the first device 200 receives a signal having the range of strength of 4 through 6. The ratio related to the number of samples may vary according to different embodiments of the present invention.

The operation performing unit 208 may further include an update unit (not shown) for updating the operation signal information.

FIG. 6 is a flowchart of a process of performing an operation related to a second device, performed by a first device, via near field wireless communication, according to another embodiment of the present invention. In operation 610, when a signal for wireless communication is received from the second device, a strength of the received signal is calibrated. In operation 620, the strength of the calibrated signal is compared with operation signal information that is a result of calibrating a range of strengths of signals which are for wireless communication and which are received from the second device moving between each of a plurality of points set to be within a predetermined distance from the first device. In operation 630, as a result of the comparison, the operation related to the second device is selectively performed.

Aspects of the present invention relate to a method of performing an operation related to a second device, performed by a first device, via near field wireless communication. When a signal for the wireless communication is received from the second device, aspects of the present invention calibrate the strength of the received signal; compare the strength of the calibrated signal with the operation signal information that is a result of calibrating the range of the strengths of the signals which are for the wireless communication and which are received from the second device moving between each of the plurality of points set to be within the predetermined distance from the first device; and as the result of the comparison, selectively perform the operation related to the second device. By doing so, the operation related to the second device can be selectively performed, based on a user's intentions.

Aspects of the present invention can be written as computer programs and can be implemented in general-use digital computers that execute the programs by using a computer readable recording medium. Examples of the computer readable recording medium include magnetic storage media (e.g., ROM, floppy disks, hard disks, etc.), and optical recording media (e.g., CDs, or DVDs).

Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in this embodiment without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents. 

What is claimed is:
 1. A method of performing, by a first device, an operation related to a second device via near field wireless communication, the method comprising: receiving by the first device, a signal for wireless communication transmitted from the second device within a communication enabled zone of the first device and the second device; determining, based on a determination that a strength of the received signal from the second device satisfies a predetermined signal strength range, whether the second device is within an operation zone within the communication enabled zone; and performing an operation related to the second device if it is determined that the second device is within the operation zone.
 2. The method of claim 1, wherein the operation related to the second device is pre-set in the first device and is automatically performed by the first device if the determined strength of the signal received from the second device by the first device is within a predetermined range of the strengths of the signals.
 3. The method of claim 1, wherein a distance at which the operation is performed is set by the first device.
 4. The method of claim 1, wherein the operation performed by the first device is determined by a type of the second device that has transmitted the signal to the first device.
 6. The method of claim 1, wherein the signal for the wireless communication is a Bluetooth signal or a Wi-Fi signal.
 7. The method of claim 1, wherein the strength of the received signal is stored by the first device as a sample.
 8. A first device to perform an operation related to a second device via wireless communication, the first device comprising: a communication unit configured to receive signals for wireless communication; and a processor configured to: control the communication unit to receive a signal for wireless communication transmitted from the second device within a communication enabled zone of the first device and the second device, determine, based on a determination that a strength of the received signal from the second device satisfies a predetermined signal strength range, whether the second device is within an operation zone within the communication enabled zone, and perform an operation related to the second device if it is determined that the second device is within the operation zone.
 9. The first device of claim 8, wherein the operation related to the second device is pre-set in the first device and is automatically performed by the first device if the determined strength of the signal received from the second device is within a predetermined range of the strengths of the signals.
 10. The first device of claim 8, wherein a distance at which the operation is performed is set by the first device.
 11. The first device of claim 8, wherein the operation performed by the first device is determined by a type of the second device that has transmitted the signal to the first device.
 12. The first device of claim 8, wherein the signal for the wireless communication is a Bluetooth signal or a Wi-Fi signal.
 13. A non-transitory computer readable recording medium having recorded thereon a program to execute the method of claim
 1. 